Current Location: Home> Function Categories> mt_getrandmax

mt_getrandmax

Display the maximum possible value of a random number
Name:mt_getrandmax
Category:math
Programming Language:php
One-line Description:Displays the maximum possible value of the random number.

Definition and usage

mt_getrandmax() displays the maximum possible value of the random number.

Example

 <?php
echo mt_getrandmax ( ) ;
?>

Try it yourself

grammar

 mt_getrandmax ( )

illustrate

Returns the largest random number that can be returned by calling mt_rand() .

Similar Functions
  • Antihyperbolic cosine acosh

    acosh

    Antihyperboliccosine
  • Generate better random numbers mt_rand

    mt_rand

    Generatebetterrandom
  • Generate a random integer rand

    rand

    Generatearandominteg
  • Find the maximum value max

    max

    Findthemaximumvalue
  • Determine whether it is a finite value is_finite

    is_finite

    Determinewhetheritis
  • Hyperbolic sine sinh

    sinh

    Hyperbolicsine
  • Leave the method of sorting floor

    floor

    Leavethemethodofsort
  • Hyperbolic tangent tanh

    tanh

    Hyperbolictangent
Popular Articles